<?php

namespace App\Transformers;

use Illuminate\Database\Eloquent\Model;
use League\Fractal\TransformerAbstract;

class TradeQueueTransformer extends TransformerAbstract
{
    public function transform(Model $tx)
    {
        $data = $tx->toArray();
        return $data;
    }
}
